struct thermal_zone_device is always allocated in thermal_core and the
new field is only used there. So we can safely move it to the end of the
structure and hide it from genksyms.
Also hide the new #include, as if it could make an actual difference,
stupid genksyms...
Gbp-Pq: Topic debian
Gbp-Pq: Name thermal-fix-abi-change-in-4.4.4.patch
#include <linux/of.h>
#include <net/netlink.h>
#include <net/genetlink.h>
+#ifndef __GENKSYMS__
#include <linux/suspend.h>
+#endif
#define CREATE_TRACE_POINTS
#include <trace/events/thermal.h>
int emul_temperature;
int passive;
unsigned int forced_passive;
- atomic_t need_update;
struct thermal_zone_device_ops *ops;
struct thermal_zone_params *tzp;
struct thermal_governor *governor;
struct mutex lock;
struct list_head node;
struct delayed_work poll_queue;
+#ifndef __GENKSYMS__
+ atomic_t need_update;
+#endif
};
/**